|
6dofimu15 2.2.0
|
This file contains API for 6DOF-IMU-15 Click driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_i2c_master.h"#include "drv_spi_master.h"Go to the source code of this file.
Data Structures | |
| struct | c6dofimu15_s |
| Click ctx object definition. More... | |
| struct | c6dofimu15_cfg_t |
| Click configuration structure definition. More... | |
Typedefs | |
| typedef uint8_t | c6dofimu15_select_t |
| Communication type. | |
| typedef void(* | c6dofimu15_master_io_t) (struct c6dofimu15_s *, uint8_t, uint8_t *, uint8_t) |
| Master Input/Output type. | |
| typedef struct c6dofimu15_s | c6dofimu15_t |
| Click ctx object definition. | |
Functions | |
| void | c6dofimu15_cfg_setup (c6dofimu15_cfg_t *cfg) |
| Config Object Initialization function. | |
| C6DOFIMU15_RETVAL | c6dofimu15_init (c6dofimu15_t *ctx, c6dofimu15_cfg_t *cfg) |
| Initialization function. | |
| void | c6dofimu15_default_cfg (c6dofimu15_t *ctx) |
| Click Default Configuration function. | |
| void | c6dofimu15_generic_write (c6dofimu15_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
| Generic write function. | |
| void | c6dofimu15_generic_read (c6dofimu15_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
| Generic read function. | |
| uint8_t | c6dofimu15_check_int_pin (c6dofimu15_t *ctx) |
| Check Interrupt state function. | |
| int16_t | c6dofimu15_read_gyro_x (c6dofimu15_t *ctx) |
| Read Gyroscope X-axis data function. | |
| int16_t | c6dofimu15_read_gyro_y (c6dofimu15_t *ctx) |
| Read Gyroscope Y-axis data function. | |
| int16_t | c6dofimu15_read_gyro_z (c6dofimu15_t *ctx) |
| Read Gyroscope Z-axis data function. | |
| void | c6dofimu15_read_gyroscope (c6dofimu15_t *ctx, int16_t *gyro_x, int16_t *gyro_y, int16_t *gyro_z) |
| Read gyroscope data function. | |
| void | c6dofimu15_angular_rate (c6dofimu15_t *ctx, float *x_ang_rte, float *y_ang_rte, float *z_ang_rte) |
| Read Angular Rate function. | |
| int16_t | c6dofimu15_read_accel_x (c6dofimu15_t *ctx) |
| Read Accelerometer X-axis data function. | |
| int16_t | c6dofimu15_read_accel_y (c6dofimu15_t *ctx) |
| Read Accelerometer Y-axis data function. | |
| int16_t | c6dofimu15_read_accel_z (c6dofimu15_t *ctx) |
| Read Accelerometer Z-axis data function. | |
| void | c6dofimu15_read_accelerometer (c6dofimu15_t *ctx, int16_t *accel_x, int16_t *accel_y, int16_t *accel_z) |
| Read accelerometer data function. | |
| void | c6dofimu15_acceleration_rate (c6dofimu15_t *ctx, float *x_acel_rte, float *y_acel_rte, float *z_acel_rte) |
| Read Acceleration Rate function. | |
| float | c6dofimu15_read_temp_out (c6dofimu15_t *ctx) |
| Read temperture function. | |
| void | c6dofimu15_i2c_disable (c6dofimu15_t *ctx, uint8_t com_sel) |
| Disable I2C block function. | |
| void | c6dofimu15_device_conf_set (c6dofimu15_t *ctx, uint8_t dev_cfg) |
| Enable the proper device configuration function. | |
| void | c6dofimu15_auto_inc_set (c6dofimu15_t *ctx, uint8_t inc_set) |
| Enable register address incrementation function. | |
| void | c6dofimu15_sw_rst (c6dofimu15_t *ctx, uint8_t rst_en) |
| Perform software reset function. | |
| void | c6dofimu15_block_data_update_set (c6dofimu15_t *ctx, uint8_t blk_set) |
| Block Data Update function. | |
| void | c6dofimu15_fifo_mode_set (c6dofimu15_t *ctx, uint8_t fifo_set) |
| Set FIFO Mode function. | |
| void | c6dofimu15_accel_data_rate (c6dofimu15_t *ctx, uint8_t data_rate) |
| Accelerometer data rate selection function. | |
| void | c6dofimu15_accel_full_scale (c6dofimu15_t *ctx, uint8_t fs_sel) |
| Accelerometer full-scale selection function. | |
| void | c6dofimu15_gyro_data_rate (c6dofimu15_t *ctx, uint8_t data_rate) |
| Gyroscope data rate selection function. | |
| void | c6dofimu15_gyro_full_scale (c6dofimu15_t *ctx, uint8_t fs_sel) |
| Gyroscope full-scale selection function. | |
| uint8_t | c6dofimu15_accel_data_rdy (c6dofimu15_t *ctx) |
| Accelerometer new data available function. | |
| uint8_t | c6dofimu15_gyro_data_rdy (c6dofimu15_t *ctx) |
| Gyroscope new data available function. | |
| uint8_t | c6dofimu15_temp_data_rdy (c6dofimu15_t *ctx) |
| Temperature new data available function. | |
| uint8_t | c6dofimu15_who_im_i (c6dofimu15_t *ctx) |
| Who Am I function. | |
This file contains API for 6DOF-IMU-15 Click driver.